<script setup lang="ts">
import { ref } from 'vue'
import axios from '../util/axiosInstance'

const msg = ref("")

const test = () => {
  axios.get('/test').then(res => {
    msg.value = res.data
    console.log(res)
  })
}
console.log('mounted')

test()

</script>
<template>
  <h1>{{ msg }}</h1>
</template>

<style scoped>
a {
  color: #42b983;
}
</style>